90c8aa4c4152b14a7ff55fe2cc101b16168eb5a4,examples/src/main/java/com/vaadin/addon/charts/examples/other/GaugeWithDualAxes.java,GaugeWithDualAxes,getChart,#,28

Before Change


        yAxis.setOffset(-25);
        yAxis.setLineWidth(2);
        // FIXME remove initialization after CHARTS-154
        yAxis.setLabels(new Labels());
        yAxis.getLabels().setDistance(-20);
        yAxis.getLabels().setRotationPerpendicular();
        yAxis.getLabels().setRotation("auto");

        yAxis.setTickLength(5);
        yAxis.setMinorTickLength(5);

After Change


        yAxis.setMinorTickColor(new SolidColor("#339"));
        yAxis.setOffset(-25);
        yAxis.setLineWidth(2);
        Labels labels = new Labels();
        labels.setDistance(-20);
        labels.setRotationPerpendicular();
        labels.setRotation("auto");
        yAxis.setLabels(labels);

        yAxis.setTickLength(5);
        yAxis.setMinorTickLength(5);